﻿using System;
using System.Collections.Generic;
using Framework.Interfaces;

namespace RSSNewsGrabberModule.Models
{
    public class RssDataHeader : IDataHeader<IDataChild>
    {
        public string Title { get; set; }
        
        public string Description { get; set; }
      
        public string Link { get; set; }

        public DateTime? PublishedDate { get; set; }

        public ICollection<string> Categories { get; set; }
       
        public ICollection<IDataChild> Childrens { get; set; }

        public RssDataHeader()
        {
            Title = null;
            Description = null;
            Link = null;
            PublishedDate = null;
            Categories = new LinkedList<string>();
            Childrens = new LinkedList<IDataChild>();
        }
       
    }
}
